import { UniformFishController } from "../ObjController/UniformFishController";
import { PowerForceFishController } from "../ObjController/PowerForceFishController";
import { Vector } from "../../../../../../__AS3__/vec/Vector";
//class FishModelDefin
    
    export  class FishModelDefin
    {
        constructor(arg1: string, arg2: number, arg3: number, arg4: Class=null)
        {
            
            this.url = arg1;
            this.minDepth = arg2;
            this.maxDepth = arg3;
            this.activeType = arg4;
            return;
        }

        public static get allFishType(): Vector.<FishModelDefin>
        {
            if (!FishModelDefin._allFishType) 
            {
                FishModelDefin._allFishType = new Vector.<FishModelDefin>();
                FishModelDefin._allFishType.push(FishModelDefin.fishType2);
                FishModelDefin._allFishType.push(FishModelDefin.fishType3);
                FishModelDefin._allFishType.push(FishModelDefin.fishType4);
                FishModelDefin._allFishType.push(FishModelDefin.fishType5);
                FishModelDefin._allFishType.push(FishModelDefin.fishType6);
                FishModelDefin._allFishType.push(FishModelDefin.fishType7);
                FishModelDefin._allFishType.push(FishModelDefin.fishType8);
                FishModelDefin._allFishType.push(FishModelDefin.fishType9);
            }
            return FishModelDefin._allFishType;
        }

        public /* var */url: string;

        public /* var */minDepth: number;

        public /* var */maxDepth: number;

        public /* var */activeType: Class;

        public static /* var */fishType2: FishModelDefin;

        public static /* var */fishType3: FishModelDefin;

        public static /* var */fishType4: FishModelDefin;

        public static /* var */fishType5: FishModelDefin;

        public static /* var */fishType6: FishModelDefin;

        public static /* var */fishType7: FishModelDefin;

        public static /* var */fishType8: FishModelDefin;

        public static /* var */fishType9: FishModelDefin;

        public static /* var */_allFishType: Vector.<FishModelDefin>;
    }

            FishModelDefin.fishType2 = new FishModelDefin("fish2.swf", 310, 310, UniformFishController);
            FishModelDefin.fishType3 = new FishModelDefin("fish3.swf", 120, 260, PowerForceFishController);
            FishModelDefin.fishType4 = new FishModelDefin("fish4.swf", 120, 260, PowerForceFishController);
            FishModelDefin.fishType5 = new FishModelDefin("fish5.swf", 120, 260, UniformFishController);
            FishModelDefin.fishType6 = new FishModelDefin("fish6.swf", 120, 260, UniformFishController);
            FishModelDefin.fishType7 = new FishModelDefin("fish7.swf", 200, 260, UniformFishController);
            FishModelDefin.fishType8 = new FishModelDefin("fish8.swf", 120, 260, UniformFishController);
            FishModelDefin.fishType9 = new FishModelDefin("fish9.swf", 120, 260, UniformFishController);
        